Optimal. Leaf size=135 \[ -\frac {a^3 c \sqrt {c x^2} (a+b x)^{1+n}}{b^4 (1+n) x}+\frac {3 a^2 c \sqrt {c x^2} (a+b x)^{2+n}}{b^4 (2+n) x}-\frac {3 a c \sqrt {c x^2} (a+b x)^{3+n}}{b^4 (3+n) x}+\frac {c \sqrt {c x^2} (a+b x)^{4+n}}{b^4 (4+n) x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 135, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {15, 45}
\begin {gather*} -\frac {a^3 c \sqrt {c x^2} (a+b x)^{n+1}}{b^4 (n+1) x}+\frac {3 a^2 c \sqrt {c x^2} (a+b x)^{n+2}}{b^4 (n+2) x}-\frac {3 a c \sqrt {c x^2} (a+b x)^{n+3}}{b^4 (n+3) x}+\frac {c \sqrt {c x^2} (a+b x)^{n+4}}{b^4 (n+4) x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 45
Rubi steps
\begin {align*} \int \left (c x^2\right )^{3/2} (a+b x)^n \, dx &=\frac {\left (c \sqrt {c x^2}\right ) \int x^3 (a+b x)^n \, dx}{x}\\ &=\frac {\left (c \sqrt {c x^2}\right ) \int \left (-\frac {a^3 (a+b x)^n}{b^3}+\frac {3 a^2 (a+b x)^{1+n}}{b^3}-\frac {3 a (a+b x)^{2+n}}{b^3}+\frac {(a+b x)^{3+n}}{b^3}\right ) \, dx}{x}\\ &=-\frac {a^3 c \sqrt {c x^2} (a+b x)^{1+n}}{b^4 (1+n) x}+\frac {3 a^2 c \sqrt {c x^2} (a+b x)^{2+n}}{b^4 (2+n) x}-\frac {3 a c \sqrt {c x^2} (a+b x)^{3+n}}{b^4 (3+n) x}+\frac {c \sqrt {c x^2} (a+b x)^{4+n}}{b^4 (4+n) x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 98, normalized size = 0.73 \begin {gather*} \frac {\left (c x^2\right )^{3/2} (a+b x)^{1+n} \left (-6 a^3+6 a^2 b (1+n) x-3 a b^2 \left (2+3 n+n^2\right ) x^2+b^3 \left (6+11 n+6 n^2+n^3\right ) x^3\right )}{b^4 (1+n) (2+n) (3+n) (4+n) x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 136, normalized size = 1.01
method | result | size |
gosper | \(-\frac {\left (b x +a \right )^{1+n} \left (c \,x^{2}\right )^{\frac {3}{2}} \left (-b^{3} n^{3} x^{3}-6 b^{3} n^{2} x^{3}+3 a \,b^{2} n^{2} x^{2}-11 b^{3} n \,x^{3}+9 a \,b^{2} n \,x^{2}-6 b^{3} x^{3}-6 a^{2} b n x +6 a \,b^{2} x^{2}-6 a^{2} b x +6 a^{3}\right )}{x^{3} b^{4} \left (n^{4}+10 n^{3}+35 n^{2}+50 n +24\right )}\) | \(136\) |
risch | \(-\frac {c \sqrt {c \,x^{2}}\, \left (-b^{4} n^{3} x^{4}-a \,b^{3} n^{3} x^{3}-6 b^{4} n^{2} x^{4}-3 a \,b^{3} n^{2} x^{3}-11 b^{4} n \,x^{4}+3 a^{2} b^{2} n^{2} x^{2}-2 x^{3} a n \,b^{3}-6 b^{4} x^{4}+3 a^{2} n \,x^{2} b^{2}-6 a^{3} b n x +6 a^{4}\right ) \left (b x +a \right )^{n}}{x \left (3+n \right ) \left (4+n \right ) \left (2+n \right ) \left (1+n \right ) b^{4}}\) | \(157\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 116, normalized size = 0.86 \begin {gather*} \frac {{\left ({\left (n^{3} + 6 \, n^{2} + 11 \, n + 6\right )} b^{4} c^{\frac {3}{2}} x^{4} + {\left (n^{3} + 3 \, n^{2} + 2 \, n\right )} a b^{3} c^{\frac {3}{2}} x^{3} - 3 \, {\left (n^{2} + n\right )} a^{2} b^{2} c^{\frac {3}{2}} x^{2} + 6 \, a^{3} b c^{\frac {3}{2}} n x - 6 \, a^{4} c^{\frac {3}{2}}\right )} {\left (b x + a\right )}^{n}}{{\left (n^{4} + 10 \, n^{3} + 35 \, n^{2} + 50 \, n + 24\right )} b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.46, size = 164, normalized size = 1.21 \begin {gather*} \frac {{\left (6 \, a^{3} b c n x - 6 \, a^{4} c + {\left (b^{4} c n^{3} + 6 \, b^{4} c n^{2} + 11 \, b^{4} c n + 6 \, b^{4} c\right )} x^{4} + {\left (a b^{3} c n^{3} + 3 \, a b^{3} c n^{2} + 2 \, a b^{3} c n\right )} x^{3} - 3 \, {\left (a^{2} b^{2} c n^{2} + a^{2} b^{2} c n\right )} x^{2}\right )} \sqrt {c x^{2}} {\left (b x + a\right )}^{n}}{{\left (b^{4} n^{4} + 10 \, b^{4} n^{3} + 35 \, b^{4} n^{2} + 50 \, b^{4} n + 24 \, b^{4}\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (c x^{2}\right )^{\frac {3}{2}} \left (a + b x\right )^{n}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 300 vs.
\(2 (127) = 254\).
time = 0.73, size = 300, normalized size = 2.22 \begin {gather*} {\left (\frac {6 \, a^{4} a^{n} \mathrm {sgn}\left (x\right )}{b^{4} n^{4} + 10 \, b^{4} n^{3} + 35 \, b^{4} n^{2} + 50 \, b^{4} n + 24 \, b^{4}} + \frac {{\left (b x + a\right )}^{n} b^{4} n^{3} x^{4} \mathrm {sgn}\left (x\right ) + {\left (b x + a\right )}^{n} a b^{3} n^{3} x^{3} \mathrm {sgn}\left (x\right ) + 6 \, {\left (b x + a\right )}^{n} b^{4} n^{2} x^{4} \mathrm {sgn}\left (x\right ) + 3 \, {\left (b x + a\right )}^{n} a b^{3} n^{2} x^{3} \mathrm {sgn}\left (x\right ) + 11 \, {\left (b x + a\right )}^{n} b^{4} n x^{4} \mathrm {sgn}\left (x\right ) - 3 \, {\left (b x + a\right )}^{n} a^{2} b^{2} n^{2} x^{2} \mathrm {sgn}\left (x\right ) + 2 \, {\left (b x + a\right )}^{n} a b^{3} n x^{3} \mathrm {sgn}\left (x\right ) + 6 \, {\left (b x + a\right )}^{n} b^{4} x^{4} \mathrm {sgn}\left (x\right ) - 3 \, {\left (b x + a\right )}^{n} a^{2} b^{2} n x^{2} \mathrm {sgn}\left (x\right ) + 6 \, {\left (b x + a\right )}^{n} a^{3} b n x \mathrm {sgn}\left (x\right ) - 6 \, {\left (b x + a\right )}^{n} a^{4} \mathrm {sgn}\left (x\right )}{b^{4} n^{4} + 10 \, b^{4} n^{3} + 35 \, b^{4} n^{2} + 50 \, b^{4} n + 24 \, b^{4}}\right )} c^{\frac {3}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.32, size = 219, normalized size = 1.62 \begin {gather*} \frac {{\left (a+b\,x\right )}^n\,\left (\frac {c\,x^4\,\sqrt {c\,x^2}\,\left (n^3+6\,n^2+11\,n+6\right )}{n^4+10\,n^3+35\,n^2+50\,n+24}-\frac {6\,a^4\,c\,\sqrt {c\,x^2}}{b^4\,\left (n^4+10\,n^3+35\,n^2+50\,n+24\right )}+\frac {6\,a^3\,c\,n\,x\,\sqrt {c\,x^2}}{b^3\,\left (n^4+10\,n^3+35\,n^2+50\,n+24\right )}-\frac {3\,a^2\,c\,n\,x^2\,\sqrt {c\,x^2}\,\left (n+1\right )}{b^2\,\left (n^4+10\,n^3+35\,n^2+50\,n+24\right )}+\frac {a\,c\,n\,x^3\,\sqrt {c\,x^2}\,\left (n^2+3\,n+2\right )}{b\,\left (n^4+10\,n^3+35\,n^2+50\,n+24\right )}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________